home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 79 / maccd 79.iso / multimedial / GL Tron / Source / gltron / sound_libmikmod.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-05-13  |  458 b   |  27 lines  |  [TEXT/CWIE]

  1. #ifndef SOUND_H
  2. #define SOUND_H
  3.  
  4. #include <mikmod.h>
  5.  
  6. int initSound(void);
  7. void shutdownSound(void);
  8. void deleteSound(void);
  9. void soundIdle(void);
  10. int loadSound(char *name);
  11. int playSound(void);
  12. int stopSound(void);
  13.  
  14. /* compatibility functions */
  15.  
  16. void playGameFX(int fx);
  17. void playMenuFX(int fx);
  18.  
  19. void playEngine();
  20. void stopEngine();
  21.  
  22. enum game_fx { fx_engine=0, fx_start, fx_crash, fx_win, fx_lose };
  23. enum menu_fx { fx_action=0, fx_highlight };
  24.  
  25. #endif
  26.  
  27.